package com.hoshiibuy.brandcategory.entity.vo;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import org.apache.commons.lang3.StringUtils;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
* <p>
* 商品类目表
* </p>
*
* @author zhangshuhu
* @since 2019-04-30
*/
    @Data
    @EqualsAndHashCode(callSuper = false)
    @Accessors(chain = true)
    @TableName("goods_category")
    @ApiModel(value="GoodsCategoryDetailVO对象", description="商品类目表")
    public class GoodsCategoryDetailVO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "公司ID")
    @TableField("companyid")
    private Long companyid;

    @ApiModelProperty(value = "父主键")
    @TableField("parent_id")
    private Long parentId;

    @ApiModelProperty(value = "名称")
    @TableField("name")
    private String name;

    @ApiModelProperty(value = "权重")
    @TableField("weigth")
    private Integer weigth;

    @ApiModelProperty(value = "级别")
    @TableField("level")
    private Integer level;

    @ApiModelProperty(value = "排序")
    @TableField("ordered")
    private Long ordered;

    @ApiModelProperty(value = "图片")
    @TableField("images")
    private String images;

    @ApiModelProperty(value = "备注")
    @TableField("remark")
    private String remark;

    @ApiModelProperty(value = "是否存在子集（0-否 1-是）")
    @TableField("is_leaf")
    private Boolean isLeaf;

    @ApiModelProperty(value = "是否删除（0-否 1-是）")
    @TableField("is_del")
    private Boolean isDel;

    @ApiModelProperty(value = "创建时间")
    @TableField("createdtime")
    private LocalDateTime createdtime;

    @ApiModelProperty(value = "修改时间")
    @TableField("updatedtime")
    private LocalDateTime updatedtime;

    @ApiModelProperty(value = "创建人")
    @TableField("createdby")
    private String createdby;

    @ApiModelProperty(value = "修改人")
    @TableField("updatedby")
    private String updatedby;
}
